home *** CD-ROM | disk | FTP | other *** search
Makefile | 1998-06-12 | 2.4 KB | 75 lines |
- # Generated automatically from Makefile-rules.in by configure.
- # MakeFile for QuakeTools
-
- CC=@CC@
- LD=@LD@
- AS=@AS@
- AR=@AR@
- RAN=@RANLIB@
-
- WARN = -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
- OPTI = -fpeephole -fno-float-store -ffunction-cse -ffast-math -fstrength-reduce \
- -frerun-cse-after-loop -frerun-loop-opt -fschedule-insns -fschedule-insns2 \
- -fmove-all-movables -freg-struct-return -freduce-all-givs
- DEFS = @DEFS@
- INCL = -I. -L. -I@top_srcdir@/src/include -I@top_srcdir@/lib
-
- # highly optimized flags
- CFLAGS =@CFLAGS@ -v -O3 -m68030 -m68881 -Wa,--statistics,-v $(WARN) $(OPTI) $(DEFS) $(INCL) -fomit-frame-pointer
- LDFLAGS=@LDFLAGS@ -v -O3 -m68030 -m68881 -Wa,--statistics,-v $(WARN) $(OPTI) $(DEFS) $(INCL) -fomit-frame-pointer -s
- ASFLAGS=-m68030 -m68881
- # highly optimized flags
- C4FLAGS =@CFLAGS@ -v -O3 -m68040 -Wa,--statistics,-v $(WARN) $(OPTI) $(DEFS) $(INCL) -fomit-frame-pointer
- LD4FLAGS=@LDFLAGS@ -v -O3 -m68040 -Wa,--statistics,-v $(WARN) $(OPTI) $(DEFS) $(INCL) -fomit-frame-pointer -lFPSP040 -s
- AS4FLAGS=-m68040
-
- #profileflags
- CPFLAGS =@CFLAGS@ -v -O3 -m68030 -m68881 -Wa,--statistics,-v $(WARN) $(DEFS) $(INCL) -pg -DPROFILE
- LDPFLAGS=@LDFLAGS@ -v -O3 -m68030 -m68881 -Wa,--statistics,-v $(WARN) $(DEFS) $(INCL) -pg -DPROFILE
- ASPFLAGS=-m68030 -m68881
- #gcovflags
- CVFLAGS =$(CFLAGS) -DPROFILE -ftest-coverage -fprofile-arcs
- LDVFLAGS=$(LDFLAGS) -DPROFILE -ftest-coverage -fprofile-arcs
- ASVFLAGS=$(ASFLAGS)
- CBFLAGS =$(CFLAGS) -DPROFILE -fbranch-probabilities
- LDBFLAGS=$(LDFLAGS) -DPROFILE -fbranch-probabilities
- ASBFLAGS=$(ASFLAGS)
-
- # common rules
- # try assembler first
- %.o: %.S
- $(CC) $(ASFLAGS) -c $< -o $@
- # try assembler first
- %.4: %.S
- $(CC) $(AS4FLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.p: %.S
- $(CC) $(ASPFLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.v: %.S
- $(CC) $(ASVFLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.b: %.S
- $(CC) $(ASBFLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.o: %.c
- $(CC) $(CFLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.4: %.c
- $(CC) $(C4FLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.p: %.c
- $(CC) $(CPFLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.v: %.c
- $(CC) $(CVFLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.b: %.c
- $(CC) $(CBFLAGS) -c $< -o $@
- # if no assembler try direct from C
- %.proto: %.c
- @GPROTO@ -f"extern %R %N%P;\n" -sN -o$@ $<
- # this is only for manual use
- %.S: %.c
- $(CC) $(CFLAGS) -fverbose-asm -S $< -o $@
-